<form class="form-horizontal" role="form">
  <fieldset>
    <div class="form-group">
      <label for="inputEmail" class="col-xs-3 control-label">邮箱</label>
      <div class="col-xs-5">
        <input type="email" class="form-control" id="inputEmail" placeholder="邮箱">
      </div>
    </div>
    <div class="form-group">
      <label for="inputPassword" class="col-xs-3 control-label">密码</label>
      <div class="col-xs-5">
        <input type="password" class="form-control" id="inputPassword" placeholder="密码">
        <div class="checkbox">
          <label>
            <input type="checkbox"> 记住我，下次自动登录
          </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-xs-5 col-xs-offset-3">
        <button class="btn btn-positive">登录</button>
        <a href="javascript:$.ui.box.close();" class="btn">取消</a>
      </div>
    </div>
  </fieldset>
</form>